home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11910 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  965 b 

  1. Path: ix.netcom.com!news
  2. From: jlilley@ix.netcom.com (John Lilley)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: For Experts: How to load a DLL dynamically ?
  5. Date: 16 Mar 1996 20:25:39 GMT
  6. Organization: Netcom
  7. Message-ID: <4if843$iq@dfw-ixnews4.ix.netcom.com>
  8. References: <4ibr0a$8f9@nms.telepost.no> <4ieqki$dqv@cloner3.netcom.com> <4iet7v$jdc@dfw-ixnews2.ix.netcom.com>
  9. NNTP-Posting-Host: den-co11-10.ix.netcom.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. X-NETCOM-Date: Sat Mar 16  2:25:39 PM CST 1996
  13. X-Newsreader: WinVN 0.99.7
  14.  
  15. In article <4iet7v$jdc@dfw-ixnews2.ix.netcom.com>, jlilley@ix.netcom.com 
  16. says...
  17. >
  18. >OOPS! Forgot something...
  19.  
  20. Really, I'll get this right someday :-)
  21.  
  22. I meant to say
  23.  
  24. EXPORT DLLfoo* DLLfoo::Create(/*args*/) { return new DLLfoo(/*args*/); }
  25. EXPORT void DLLfoo::Destroy(DLLfoo*foo) { delete foo; }
  26.  
  27. instead of 
  28.  
  29. >EXPORT void DLLfoo::method1(/*args*/) { ... }
  30. >EXPORT int DLLfoo::method2(/*args*/) { ... }
  31.  
  32. john lilley
  33.  
  34.